package cn.chenchao.eshop.common.entity;

/**
 * @encoding : UTF-8
 * @Time : 2020/11/22 13:16
 * @Author : Chen Chao
 * @File : eshop.cn.chenchao.eshop.common.entity.Entity.java
 * @Software : IntelliJ IDEA
 * @since : 1.8
 * 实体类所有
 */
public class Entity {
    private String id;
    private String deleteTime;
    private boolean isDel;
    private String createTime;

    public Entity() {
    }

    /**
     *
     * @param id 数据的唯一标识
     * @param deleteTime 数据的删除时间
     * @param isDel     数据的删除状态 false为正常 true为删除
     * @param createTime 数据的创建状态
     */
    public Entity(String id, String deleteTime, boolean isDel, String createTime) {
        this.id = id;
        this.deleteTime = deleteTime;
        this.isDel = isDel;
        this.createTime = createTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(String deleteTime) {
        this.deleteTime = deleteTime;
    }

    public boolean getIsDel() {
        return isDel;
    }

    public void setIsDel(boolean isDel) {
        this.isDel = isDel;
    }
}
